package com.example.hello.dto;

/**
 * 登录响应DTO
 */
public class LoginResponse {
    private Integer id;
    private String employeeId;
    private String name;
    private String token;

    public LoginResponse() {}

    public LoginResponse(Integer id, String employeeId, String name, String token) {
        this.id = id;
        this.employeeId = employeeId;
        this.name = name;
        this.token = token;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(String employeeId) {
        this.employeeId = employeeId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    @Override
    public String toString() {
        return "LoginResponse{" +
                "id=" + id +
                ", employeeId='" + employeeId + '\'' +
                ", name='" + name + '\'' +
                ", token='" + token + '\'' +
                '}';
    }
}

